<template>
	<view class="content">
		<nav-bars backState="1000" bgColor="#fff" fontColor="#333" title="欢迎来到融易装"></nav-bars>
		<view class="wrapper">
			<view class="headeArea">
				<view class="subtitle">
					融易装
				</view>
			</view>
			<view class="mainarea">
				<view class="itemBox flex align-items" @click="goSkip('/pages_3D/pages/3D/index')">
					<view class="sidebarb">
						<image :src="`${imageSrc}/static/superHK/welcome/q1.png`"></image>
					</view>
					<view class="sidebara">
						<view class="title">
							我要装修房子
						</view>
					</view>
					
				</view>
				<!-- <view class="itemBox flex align-items" @click="goSkip('/pages_product/pages/product/index/index')">
					<view class="sidebarb">
							<image :src="`${imageSrc}/static/superHK/welcome/q2.png`"></image>
					</view>
					<view class="sidebara">
						<view class="title">
							我要翻修新房
						</view>
					</view>
					
				</view> -->
				<view class="itemBox flex align-items" @click="pageHome('/pages/mall/index/index')">
					<view class="sidebarb">
							<image :src="`${imageSrc}/static/superHK/welcome/q3.png`"></image>
					</view>
					<view class="sidebara">
						<view class="title">
							我要要买家居建材
						</view>
					</view>
					
				</view>
				<view class="itemBox flex align-items" @click="goSkip('/pages_now/pages/now/quote/index')">
					<view class="sidebarb">
							<image :src="`${imageSrc}/static/superHK/welcome/q4.png`"></image>
					</view>
					<view class="sidebara">
						<view class="title">
						  免费报价
						</view>
					</view>
				</view>
				<view class="itemBox flex align-items" v-show="navBarTitle != '话题'" @click="goSkip('/pages_3D/pages/index/index')">
					<view class="sidebarb">
							<image :src="`${imageSrc}/static/superHK/welcome/q6.png`"></image>
					</view>
					<view class="sidebara">
						<view class="title">
						  装修贷款
						</view>
					</view>
				</view>
				<view class="itemBox flex align-items" @click="goSkip('/pages_two/pages/construction/introduce/index')">
					<view class="sidebarb">
							<image :src="`${imageSrc}/static/superHK/welcome/q5.png`"></image>
					</view>
					<view class="sidebara">
						<view class="title">
						  装修建工服务
						</view>
					</view>
					
				</view>
			</view>
			<view class="goHome flex align-items" @click="pageHome('/pages/home/index/index')">
				<text>进入主页</text>
				<image :src="`${imageSrc}/static/superHK/welcome/qr.png`" mode="widthFix"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {
		},
		data() {
			return {
				statusLoading: 'loadmore',
				iconType: 'flower',
				loadText: {
					loadmore: '轻轻上拉',
					loading: '努力加载中',
					nomore: '到底了~'
				},
				page: 1,
				pagesize: 10,
				imageSrc: this.$static,
				list: [],
				navBarTitle: '话题',
			}
		},
		onReady() {
			var value = uni.getStorageSync('LiveConfig');
			this.navBarTitle = value != '' ? value : '话题';
		},
		onLoad() {
			
		},
		methods:{
			pageHome(url){
				uni.setStorageSync('entry',1);
				uni.switchTab({
					url: url
				});
			},
			goSkip(url){
				uni.navigateTo({
					url: url
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	page{
		
	}
	.content {
		width: 100%;
		min-height: 100vh;
        background: #fff !important;
		.wrapper {
			width: 100%;
			height: auto;
		}

		.headeArea {
			width: 94%;
			margin: auto;
			margin-top: 40rpx;

			.columnOne {
				justify-content: space-between;

				.h1-title {
					color: #252525;
					font-size: 48rpx;
					font-weight: 800;
				}

				.customers {
					width: 114rpx;
					height: 44rpx;
					line-height: 44rpx;
					text-align: center;
					color: #FFFFFF;
					background: #F99704;
					box-shadow: 0px 3rpx 6rpx rgba(249, 151, 4, 0.2);
					border-radius: 23rpx;
				}
			}

			.subtitle {
				margin-top: 20rpx;
				color: #252525;
				font-size: 50rpx;
				font-weight: 800;
			}
		}

		.mainarea {
			width: 100%;
			margin-top: 68rpx;
			.itemBox{
				height: 160rpx;
				margin:0 30rpx;
				margin-top:24rpx;
				background: #f7f7f7;
				border-radius: 15rpx;
				.sidebara {
					margin-left:30rpx;
				
					.title {
						color: #252525;
						font-size: 34rpx;
					}
				
					.subtitle {
						color: #464646;
						font-size: 26rpx;
						margin-top: 8rpx;
					}
				}
				
				.sidebarb {
					margin-left: 50rpx;
					image {
						width: 72rpx;
						height: 72rpx;
					}
				}
			}
			.steward{
				background: linear-gradient(180deg, #D9EBFF 0%, #F1F8FF 100%);
				box-shadow: 0px 2rpx 14rpx rgba(241, 241, 241, 0.16);
				opacity: 0.92;
				border-radius: 24rpx;
			}
			.setmeals{
				background: linear-gradient(180deg, #FFE3DB 0%, #FFF4F2 100%);
				box-shadow: 0px 2rpx 14rpx rgba(241, 241, 241, 0.16);
				opacity: 0.92;
				border-radius: 24rpx;
			}
			.dailySpecials{
				background: linear-gradient(180deg, #FFECD8 0%, #FFF6EC 100%);
				box-shadow: 0px 2px 14rpx rgba(241, 241, 241, 0.16);
				opacity: 0.92;
				border-radius: 24rpx;
			}
			.budget{
				background: linear-gradient(180deg, #C9F2DD 0%, #ECF9F3 100%);
				box-shadow: 0px 2rpx 14rpx rgba(241, 241, 241, 0.16);
				opacity: 0.92;
				border-radius: 24rpx;
			}
			.freedesign{
				background: linear-gradient(180deg, #FFE2E4 0%, #FFEFF1 100%);
				box-shadow: 0px 2rpx 14rpx rgba(241, 241, 241, 0.16);
				opacity: 0.92;
				border-radius: 24rpx;
			}
		}
       .goHome{
		   width: 300rpx;
		   height: 90rpx;
		   font-size: 28rpx;
		   font-weight: 500;
		   color: #fff;
		   margin: 60rpx auto;
		   text-align: right;
		   background: #303236;
		   text-align: center;
		   border-radius: 50rpx;
		   justify-content: center;
		   image{
			   width:30rpx;
			   margin-left: 15rpx;
		   }
	   }
		.flex {
			display: flex;
		}

		.align-items {
			align-items: center;
		}
	}
</style>
